feat(i18n): Add multi-language support to realize Chinese and English switching function#1722
Closed
frontend-winter wants to merge 1 commit intofastapi:masterfrom
Closed
feat(i18n): Add multi-language support to realize Chinese and English switching function#1722frontend-winter wants to merge 1 commit intofastapi:masterfrom
frontend-winter wants to merge 1 commit intofastapi:masterfrom
Conversation
… switching function (cherry picked from commit b79a3cd6b9dca751bb7189e71f3ad11f167cce5c)
Member
|
Thanks! This would be better as a feature of your own project and not something that comes here by default. So, I'll pass on this one. ☕ |
Author
|
Thanks for the quick reply @tiangolo ☕ I totally understand your concern about keeping the core minimal. Since internationalization could still be useful for some community members, would it make sense if I move this work into a separate repo/template (e.g. That way, people who need multi-language support can directly use it without adding extra burden to the main repo. What do you think? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This pull request adds multi-language (i18n) support to the frontend, enabling users to switch between Chinese and English.
Changes
Motivation
As the project aims to be internationally usable, adding multilingual support improves user experience and accessibility for non-English speakers.
Related Issues
N/A
Screenshots
Checklist
Hi maintainers 👋
This PR adds i18n support to enable Chinese/English language switching in the frontend.
Could you please help add one of the required labels (e.g.
featureorlang-all) so that the label-checker CI can pass? 🙏 Thank you!该 PR 实现了前端中英文语言切换功能。
CI 校验失败是因为没有打标签(例如
feature或lang-all),麻烦协助加一个标签使其通过,非常感谢 🙏